'use strict';

define(['angular', 'services'], function (angular) {

/* Controllers */
  return angular.module('flightAdminApp.controllers', ['flightAdminApp.services'])
    // Sample controller where service is being used
    .controller('MainCtrl', ['$scope', '$injector', function($scope, $injector) {
      require(['controllers/main'], function(main) {
        //$injector.invoke(main, this, {'$scope': $scope});
      });
     }])
    .controller('LoginCtrl', ['$scope', '$injector', function($scope, $injector) {
      require(['controllers/login'], function(login) {
        $injector.invoke(login, this, {'$scope': $scope});
      });
     }])
    .controller('DashboardCtrl', ['$scope', '$injector', function($scope, $injector) {
      require(['controllers/dashboard'], function(dashboard) {
        $injector.invoke(dashboard, this, {'$scope': $scope});
      });
     }])
    .controller('MissionCtrl', ['$scope', '$injector', function($scope, $injector) {
      require(['controllers/mission'], function(mission) {
        $injector.invoke(mission, this, {'$scope': $scope});
      });
    }])
    .controller('StoreCtrl', ['$scope', '$injector', function($scope, $injector) {
      require(['controllers/store'], function(store) {
        $injector.invoke(store, this, {'$scope': $scope});
      });
    }])
    .controller('ContactCtrl', ['$scope', '$injector', function($scope, $injector) {
      require(['controllers/contact'], function(about) {
        //$injector.invoke(about, this, {'$scope': $scope});
      });
    }])
     .controller('ChildrenCtrl', ['$scope', '$injector', function($scope, $injector) {
      require(['controllers/children'], function(children) {
        $injector.invoke(children, this, {'$scope': $scope});
      });
    }])
	.controller('ActiveCodeCtrl', ['$scope', '$injector', function($scope, $injector) {
      require(['controllers/active-code'], function(active) {
        $injector.invoke(active, this, {'$scope': $scope});
      });
    }])
  .controller('ProfileCtrl', ['$scope', '$injector', function($scope, $injector) {
      require(['controllers/profile'], function(profile) {
        //$injector.invoke(profile, this, {'$scope': $scope});
      });
    }])
  .controller('SettingsCtrl', ['$scope', '$injector', function($scope, $injector) {
      require(['controllers/settings'], function(settings) {
        //$injector.invoke(profile, this, {'$scope': $scope});
      });
    }])
  .controller('PolicyCtrl', ['$scope', '$injector', function($scope, $injector) {
      require(['controllers/policy'], function(policy) {
        //$injector.invoke(profile, this, {'$scope': $scope});
      });
    }])
  .controller('ItemCtrl', ['$scope', '$injector', function($scope, $injector) {
      require(['controllers/item'], function(item) {
        $injector.invoke(item, this, {'$scope': $scope});
      });
    }])
   .controller('ParentsCtrl', ['$scope', '$injector', function($scope, $injector) {
      require(['controllers/parents'], function(parent) {
        $injector.invoke(parent, this, {'$scope': $scope});
      });
    }])
   .controller('AdminsCtrl', ['$scope', '$injector', function($scope, $injector) {
      require(['controllers/admins'], function(admin) {
        $injector.invoke(admin, this, {'$scope': $scope});
      });
    }])

});